package com.jaywalkable.vkeyboard.impl;


public class SimpleVTextComponent extends AbstractVTextComponent {

    private StringBuilder sb = new StringBuilder();

    @Override
    public void onBackspace() {
        sb.deleteCharAt(sb.length() - 1);

    }

    @Override
    public void append(Character ch) {
        sb.append(ch);
    }

    @Override
    public String getText() {
        return sb.toString();
    }

}
